package com.web.entity;

public class Course {
    private int id;
    private String name;
    private int time;
    private int point;

    public Course(int id, String name, int time, int point) {
        this.id = id;
        this.name = name;
        this.time = time;
       this.point = point;
    }

    public Course() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }
    public int getPoint() {
        return point;
    }

    public void setPoint(int point) {
        this.point = point;
    }
    @Override
    public String toString() {
        return "Course{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", time=" + time +
                ", point='" + point + '\'' +
                '}';
    }
}